<template>
  <div >
    <!-- <iframe style="    display: none;" src="https://fxg.jinritemai.com/ffa/morder/order/list"></iframe> -->
    <RouterView />
  </div>
</template>

<script>
import axios from 'axios'
import Cookies from 'js-cookie';
export default {
  name: 'App',
  components: {
   
  },
  created() {

    if(this.$route.path!=='/'){
      if(!(this.$route.path=='/yqm' || this.$route.path=='/cj') ){
        console.log('路劲',this.$route.path)
        if(!this.$store.state.shop_id && !this.$store.type && !this.$store.lptype){
       this.$router.push({ path: '/' })
       return
      }
      }
      
    }
   

     
      },
  mounted: function () {
    
   
    //  axios({
    //                 method: 'get',
    //                 url: 'http://doudian-api.fd1.cc/api/shangpin_guanli?shop_id=85312841'
    //             })
    //                 .then(function (response) 
    //                 {

    //                 }
}
}
</script>

<style>
  body{
    margin: 0px;
    min-width: 93.75rem;
    
  }
  .ph_style{
    float: right;
    color: #7d7979;
    font-size: 14px;
    padding: 0px 20px;
    background: #fff;
    cursor: pointer;
  }
  .hove_ys:hover{
    border: 1px solid rgb(93, 137, 246);
   }

</style>
